package com.socket;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class ECHOKeyBoadInputUtil {
    private static  final BufferedReader INPUT = new BufferedReader(new InputStreamReader(System.in));
    private ECHOKeyBoadInputUtil() {

    }
    public static String getString(String prompt) {
        System.out.println(prompt);
        try {
            String value = INPUT.readLine();
            return value;
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
}
